const roleList = [
  {
    roleCode: 'cr001',
    roleName: 'mock001',
    roleDesc: '描述1描述1描述1描述1描述1描述1',
    userIdList: ['1'],
    creatorName: 'xx001',
    gmtCreated: '2021-7-7 16:45:27',
    modifierName: 'xx001',
    gmtModified: '2021-7-7 16:45:40',
  },
  {
    roleCode: 'cr002',
    roleName: 'mock002',
    roleDesc: '描述2',
    userIdList: ['1', '12'],
    creatorName: 'xx002',
    gmtCreated: '2021-7-7 16:45:27',
    modifierName: 'xx002',
    gmtModified: '2021-7-7 16:45:40',
  },
  {
    roleCode: 'cr003',
    roleName: 'mock003',
    roleDesc: '描述3',
    userIdList: ['1', '13'],
    creatorName: 'xx003',
    gmtCreated: '2021-7-7 16:45:27',
    modifierName: 'xx003',
    gmtModified: '2021-7-7 16:45:40',
  },
  {
    roleCode: 'cr004',
    roleName: 'mock004',
    roleDesc: '描述4',
    userIdList: ['1'],
    creatorName: 'xx004',
    gmtCreated: '2021-7-7 16:45:27',
    modifierName: 'xx004',
    gmtModified: '2021-7-7 16:45:40',
  },
];

const userList = [
  { id: '1', userCode: '1', userName: 'xx1', userType: '', userDesc: '', userNo: '123' },
  { id: '2', userCode: '12', userName: 'xx2', userType: '', userDesc: '', userNo: '123' },
  { id: '3', userCode: '13', userName: 'xx3', userType: '', userDesc: '', userNo: '123' },
  { id: '4', userCode: '14', userName: 'xx4', userType: '', userDesc: '', userNo: '123' },
  { id: '5', userCode: '15', userName: 'xx5', userType: '', userDesc: '', userNo: '123' },
  { id: '6', userCode: '16', userName: 'xx6', userType: '', userDesc: '', userNo: '123' },
  { id: '7', userCode: '17', userName: 'xx7', userType: '', userDesc: '', userNo: '123' },
  { id: '8', userCode: '18', userName: 'xx8', userType: '', userDesc: '', userNo: '123' },
  { id: '9', userCode: '19', userName: 'xx9', userType: '', userDesc: '', userNo: '123' },
  { id: '10', userCode: '10', userName: 'xx10', userType: '', userDesc: '', userNo: '123' },
  { id: '11', userCode: '22', userName: 'xx11', userType: '', userDesc: '', userNo: '123' },
  { id: '12', userCode: '123', userName: 'xx12', userType: '', userDesc: '', userNo: '123' },
];

export default {
  'POST /usercenter-admin-app/admin/sysRole/selectPage': {
    data: { total: 4, dataList: roleList },
    code: 0,
    errMsg: '操作成功',
  },
  'GET /usercenter-admin-app/admin/sysRole/getUsersByIds': {
    data: { total: 4, dataList: userList },
    code: 0,
    errMsg: '操作成功',
  },
  'POST /usercenter-admin-app/admin/sysRole/insert': {
    data: {},
    code: 0,
    errMsg: '操作成功',
  },
  'POST /usercenter-admin-app/admin/sysRole/update': {
    data: {},
    code: 0,
    errMsg: '操作成功',
  },
};
